#pragma once
#include "SpriteManager.h"

class CFrameManager
{
public:
    CFrameManager(void);
    ~CFrameManager(void);

    void CreateFrame(CSpriteManager& spriteManager);
    CSpriteManager& GetFrame(UINT uiOffset);
    UINT GetOffset();

private:
    CCriticalSection m_critialSection;
    CArray<CSpriteManager, CSpriteManager&> m_arraySpriteManagers;
    UINT m_uiOffset;


};
